from django.urls import path
from . import views
from rest_framework_jwt.views import obtain_jwt_token

app_name = "note"
urlpatterns = [
    path("api/list/", views.NoteListAPI.as_view(), name="note_list"),
    path("api/<int:pk>/", views.NoteAPI.as_view(), name="note_api"),
    path("api/login/", obtain_jwt_token),
]
